<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<script>
	function validate_form(){
		var id=document.getElementById('id').value;
			if(id==""){
				alert('联系人工号不能为空');
				return false;
				}
		}
</script>
<!DOCTYPE html>
<html>
	<head>
         <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		 <link href="<%=request.getContextPath() %>/css/SonPage.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/Element.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/easyui.css" rel="stylesheet" type="text/css">
         <link href="<%=request.getContextPath() %>/css/icon.css" rel="stylesheet" type="text/css">
         <script src="<%=request.getContextPath() %>/js/Mtopt_1.1.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/SonPage.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/jquery-1.8.3.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/jquery.easyui.min.js" type="text/javascript"></script>
         <script src="<%=request.getContextPath() %>/js/easyui-lang-zh_CN.js" type="text/javascript"></script>
		<title>添加维护记录</title>
	</head>
	<body>

		<div class="DivShowData panel-noscroll">
        <div class="panel datagrid" style="width: 1180px;">
        	<div class="panel-header" style="width: 1168px;">
        		<div class="panel-title">报警用户基本信息</div>
        		<div class="panel-tool"></div>
        	</div>
        </div>
        </div>
        	<div class="datagrid-wrap panel-body" title="" style="width: 1178px; height: 571px;">
        		<div class="datagrid-toolbar"></div>
        		<div class="datagrid-view" style="width: 1178px; height: 542px;">
        			<style type="text/css">
						div.datagrid-cell-c1-PolluteSourceNo {width:undefinedpx;}
						div.datagrid-cell-c1-PolluteSourceName {width:92px;}
						div.datagrid-cell-c1-GroupName {width:72px;}
						div.datagrid-cell-c1-TypeName {width:32px;}
						div.datagrid-cell-c1-IndustryName {width:92px;}
						div.datagrid-cell-c1-OperateScaleName {width:52px;}
						div.datagrid-cell-c1-AttentionName {width:32px;}
						div.datagrid-cell-c1-TakeoverName {width:32px;}
						div.datagrid-cell-c1-PleaceName {width:52px;}
						div.datagrid-cell-c1-9 {width:12px;}
					</style>
<div class="datagrid-view2" style="width: 1178px;">
		<div class="datagrid-header" style="width: 1178px;">
			<div class="datagrid-header-inner" style="display: block;">
			   <form action="<%=request.getContextPath()%>/addAlarmServlet" method="post">
				<table class="datagrid-htable" >
				  <tbody>
					<tr>
					    <td>联系人工号：</td>
					    <td><input type="text" vlaue="" id="id" name="id"></td>
					</tr>
					<tr>
						<td>联系人：</td>
						<td><input type="text" vlaue="" id="name" name="name"></td>
					</tr>
					<tr>
						<td>联系电话：</td>
						<td><input type="text" vlaue=""id="phone" name="phone"></td>
					</tr>
					<tr>
						<td>备注：</td>
						<td><input type="text" vlaue="" id="beizhu"name="beizhu"></td>
					</tr>
					<tr>
						<td><input type="submit" name="yes" value="确定" style="width: 100px;"onclick="return validate_form()"></td>
					    <td><input type="button" name="cancel" value="取消" style="width: 100px;"onclick="window.location.href='../user/AlarmManage.jsp';"></td>
					</tr>
				  </tbody>
				</table>
				</form>
				</div>
			</div>
		</div>
	</body>
</html>
